]> dgit.raspbian.org Git - gnome-shell.git/commit
boxpointer: Don't trigger a relayout when updating arrow side
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 13 Jun 2019 17:40:47 +0000 (19:40 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Mon, 17 Jun 2019 12:22:19 +0000 (14:22 +0200)
commit3d4ba028c4cc525da78ee966ce86a848aa09d606
tree0207499260dbbf38069eb03c7b7478efb2cf9a91
parent5481c1899f3d477bbf9f8319fe6ef933f77fc4e1
boxpointer: Don't trigger a relayout when updating arrow side

Changing the arrow side might need to reposition the boxpointer, however
if this happens during allocation, we don't need to trigger a new relayout since
we'd set the new allocation once _updateFlip's _reposition call is terminated,
otherwise if the position has changed, changing the boxpointer coordinates
will trigger a relayout anyways.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/576
js/ui/boxpointer.js